package com.springdoor.wx.api.mapper;

import com.springdoor.wx.api.entity.ResultConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SprdGoodsConfigMapper {

    public List<Map<String, Object>> fetchConfigByAssNumber(
            @Param("deptId") Long deptId
            , @Param("assNumber") String assNumber
            , @Param("assorts") String[] assorts);

    public List<ResultConfig> fetchConfigByGNumber(String gNumber);

    public List<ResultConfig> fetchAssortConfigByGNumber(
            @Param("gNumber") String gNumber
            , @Param("assorts") String [] assorts);
}
